package cn.hj.system.service.impl;

import cn.hj.basic.service.impl.BaseServiceImpl;
import cn.hj.system.domain.DictionaryType;
import cn.hj.system.mapper.DictionaryTypeMapper;
import cn.hj.system.service.IDictionaryTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DictionaryTypeServiceImpl extends BaseServiceImpl<DictionaryType> implements IDictionaryTypeService {

    @Autowired
    private DictionaryTypeMapper dictionaryTypeMapper;

    @Override
    public List<String> selectTree() {
        return dictionaryTypeMapper.selectTree();
    }
}
